sandwich_orders = ['one1', 'two', 'three', 'pastrami', 'pastrami', 'pastrami']

print("-----------pastrami卖完了-----------------")
while 'pastrami' in sandwich_orders:
    sandwich_orders.remove('pastrami')
print("pastrami is none.")
print(sandwich_orders)
print("-----------pastrami卖完了-----------------")

finished_sandwiches = []

for sandwich_order in sandwich_orders:
    print("I made your " + sandwich_order + "sandwich.")

while sandwich_orders:
    x = sandwich_orders.pop()
    finished_sandwiches.append(x)

print(finished_sandwiches)
print("已完成的三明治有：")
for finished_sandwiche in finished_sandwiches:
    print(finished_sandwiche)
